package com.dolphin.commons;

/**
 * 描述:
 * ${DESCRIPTION}
 *
 * @author 林平
 * @create 2023-05-28 0:12
 * 个人博客地址：https://www.nonelonely.com
 */
public class WxConstant {

    /**
     * 生成小程序码状态记录的前缀
     */
    public static final String WX_QRCODE_SCENE = "wx_qrcode_scene:";


    /**
     * 小程序码状态成功
     */
    public static final String WX_QRCODE_SUCCESS = "2～";

    /**
     * 小程序码状态已扫描
     */
    public static final String WX_QRCODE_SCAN = "1";

    /**
     * 小程序码状态未扫描
     */
    public static final String WX_QRCODE_NOT_SCAN = "0";

    /**
     * 小程序码状态过期
     */
    public static final String WX_QRCODE_EXPIRED = "-1";


    public static final String BASE64_PNG = "data:image/png;base64,";

    /**
     * 令牌前缀
     */
    public static final String LOGIN_USER_KEY = "login_user_key";


    /**
     * 令牌前缀
     */
    public static final String TOKEN_PREFIX = "Bearer ";

    /**
     * qrcode状态常量
     */
    public static final String QR_STATUS = "status";
    /**
     * 成功返回token
     */
    public static final String QR_STATUS_SUCCESS = "2";
    /**
     * token
     */
    public static final String TOKEN = "token";

}
